#!/bin/bash
rm -rf dist
node build/build.js
datestr=$(date +%Y-%m-%d-%H:%M:%S)
filename=depoly/depoly$datestr.tar.gz
zip -r $filename  dist/.
#tar -zcvf $filename  dist/.
scp $filename  root@182.92.161.173:/mnt/tattoo_master/TattooShowTickets/.
